﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GoodMan.Infrastructure.Entities.Contract
{
    public class DutySet
    {
        public List<DormitoryDuty> duty { get; set; }
    }

    public class DormitoryDuty
    {
        public int Dormitory { get; set; }
        public DayDuty userList { get; set; }
    }
    public class DayDuty
    {
        /// <summary>
        /// 早班 (用户名)
        /// </summary>
        public DutyUser first { get; set; }
        /// <summary>
        /// 中班 (用户名)
        /// </summary>
        public DutyUser middle { get; set; }
        /// <summary>
        /// 晚班 (用户名)
        /// </summary>
        public DutyUser last { get; set; }
    }
    public class DutyUser
    {
        public string Username { get; set; }
        public string Realname { get; set; }
    }
}
